package gpstools.track;

import java.io.Serializable;

public class TrackPointInfo extends AdditionalInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	private static final String DISTANCE = "gpstools.track.Point.distance";
	private static final String SPEED = "gpstools.track.Point.speed";

	public Double setDistanceInMeters(Double distance) {
		return (Double) set(DISTANCE, distance);
	}

	public Double getDistanceInMeters() {
		return (Double) get(DISTANCE);
	}

	public Double setSpeedInMetersPerSecond(Double speed) {
		return (Double) set(SPEED, speed);
	}

	public Double getSpeedInMetersPerSecond() {
		return (Double) get(SPEED);
	}

}
